package com.archives.blog.common.domain.pojo.request;

import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;

public class AdminLoginRequest extends BaseRequest{

	/**
	 * 
	 */
	private static final long serialVersionUID = 5965326247272542341L;
	
	public static final String ADDRESS = "/login";
	
	// 登录名
	@NotBlank
	private String loginName;
	// 登录密码
	@Size(max = 20, min = 6)
	private String password;
	// 验证码
	@NotBlank
	private String captcha;
	
	/**
	 * @return the loginName
	 */
	public String getLoginName() {
		return loginName;
	}
	/**
	 * @param loginName the loginName to set
	 */
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * @return the captcha
	 */
	public String getCaptcha() {
		return captcha;
	}
	/**
	 * @param captcha the captcha to set
	 */
	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}
	
	
}
